using System;
using System.Collections;
using Refly.CodeDom;
using System.Text;

namespace Doubler.Data
{
    public class PropertyFieldPair
    {
        private IPropertyDeclaration _Property;
        private FieldDeclaration _Field;
        public IPropertyDeclaration Property
        {
            get
            {
                return _Property;
            }
            set
            {
                _Property = value;
            }
        }
        public FieldDeclaration Field
        {
            get
            {
                return _Field;
            }
            set
            {
                _Field = value;
            }
        }


        /// <summary>
        /// Creates a new instance of PropertyFieldPair
        /// </summary>
        /// <param name="property"></param>
        /// <param name="field"></param>
        public PropertyFieldPair(IPropertyDeclaration property, FieldDeclaration field)
        {
            _Property = property;
            _Field = field;
        }
    }
}
